public class StudentNamesArray {

	public static void main(String[] args) {
		// This class is to print all the student names using for each loop.

		String[] studentName = new String[6];

		studentName[0] = "Raji";
		studentName[1] = "Satya";
		studentName[2] = "Kuldeep";
		studentName[3] = "Ravi";
		studentName[4] = "Henry";
		studentName[5] = "Sushil";

		System.out.println("Java class 2014 batch");
		System.out.println("-------------------");
		for (String name : studentName) {

			System.out.println(name);

		}

	}

}
